package com.example.yk.net

import android.view.View
import android.widget.ImageView
import androidx.databinding.BindingAdapter
import com.bumptech.glide.Glide

object ImgageBinding {
    @JvmStatic
    @BindingAdapter("img_url")
    fun ImgageBind(imageView: ImageView,url:String?){
        Glide.with(imageView.context).load(url).into(imageView)
    }
}